const {addressData,mainData} =require('./src/mock')
const bodyParser=require('body-parser')
module.exports={
    devServer:{
        before:app=>{
            app.use(bodyParser.json())
            app.post('/api/addressData',(req,res)=>{
                console.log(addressData)
                res.send({
                    code:200,
                    data:addressData
                })
            })
        }
    }
}